<%@ include file="/common/taglibs.jsp"%>
<style>
table.reference th {
	padding: 5px;
	font-size: 12px;
}

.ui-helper-reset {
	line-height: 5.3px;
}

.ui-accordion .ui-accordion-content {
	padding-top: 5px;
	padding-bottom: 15px;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 13px;
}
</style>
<script>
	$(function() {
	    $( "#accordion" ).accordion();
	});
</script>
<div id="accordion">
<s:iterator value="homeWorkList" status="rowstatus">
	<span><s:property value="key" /></span>
	<div>
	<table id="instHeaderTable" class="reference"   >
		<tr>
			<th>Id</th>
			<th>Subject</th>
			<th>Home Work</th>
			<th>Date</th>
		</tr>
		<s:iterator value="value" status="rowstatus">
			<tr>
				<td><s:property value="id" /></td>
				<td><s:property value="subject.subjectName" /></td>
				<td><s:property value="description"/></td>
				<td><s:property value="date" /></td>
			</tr>
		</s:iterator>
	</table>
	</div>
</s:iterator></div>
</div>
